home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Beginning Mac Programming
/
Beginning Mac Programming.bin
/
Open Me for REALbasic 3
/
REALbasic 3.2
/
Example Projects
/
Reusable Classes_Code
/
User Interface
/
Saving Listbox
/
ReadMe
< prev
next >
Wrap
Text File
|
1999-10-21
|
607b
|
16 lines
Saving Listbox 1.0
©1999 Adam Robinson
The Saving Listbox class is a subclass of the Listbox class that allows a listbox (single- or multi-column) to be saved to a file, and loaded later.
The two methods you should know about are:
Save stream,close
stream as binarystream - a binarystream object pointing to an open stream containing the listbox data.
close as boolean - if True, it will close the stream for you.
Load stream,close
stream as binarystream - a binarystream object pointing to an open stream where the listbox data should go.
close as boolean - if True, it will close the stream for you.